home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 2000 October
/
Software of the Month - Ultimate Collection Shareware 277.iso
/
pc
/
PROGRAMS
/
UTILITY
/
WINLINUX
/
DATA1.CAB
/
etc_-_Configuration_Files
/
PROFILE
< prev
next >
Wrap
Text File
|
1999-09-17
|
3KB
|
123 lines
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11R6/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
export LC_CTYPE=iso-8859-1
# Set default backspace character
stty erase
# Set the default system $PATH:
PATH="$PATH:/usr/X11R6/bin:$OPENWINHOME/bin:/usr/games"
# For non-root users, add the current directory to the search path:
if [ ! $UID = 0 ]; then
PATH="$PATH:."
fi
# I had problems using 'eval tset' instead of 'TERM=', but you might want to
# try it anyway. I think with the right /etc/termcap it would work great.
# eval `tset -sQ "$TERM"`
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
TERM=linux
fi
# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" -o "$SHELL" = "/bin/ksh" ]; then
PS1="! $ "
elif [ "$SHELL" = "/bin/zsh" ]; then
PS1="%m:%~%# "
elif [ "$SHELL" = "/bin/ash" ]; then
PS1="$ "
else
PS1='\h:\w\$ '
fi
PS2='> '
ignoreeof=10
# Default umask. A umask of 022 prevents new files from being created group
# and world writable.
umask 022
# Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
if [ "$SHELL" = "/bin/zsh" ]; then
eval `dircolors -z`
elif [ "$SHELL" = "/bin/ash" ]; then
eval `dircolors -s`
else
eval `dircolors -b`
fi
#
# For security reasons always asks the user if one file is to be overwritten
#
alias cp='cp -i'
alias rm='rm -i'
alias mv='mv -i'
#
# Configuration for Netscape Communicator begins
#
export MOZILLA_HOME=/usr/local/netscape
PATH=$PATH:/usr/local/netscape/bin
#
# Configuration for Netscape Communicator ends
#
#
# Configuration for Qt (needed by KDE) begins here
#
QTDIR=/usr/local/qt
PATH=$PATH:$QTDIR/bin
MANPATH=$MANPATH:$QTDIR/man
if [ $CPLUS_INCLUDE_PATH ]
then
CPLUS_INCLUDE_PATH=$QTDIR/include:$CPLUS_INCLUDE_PATH
else
CPLUS_INCLUDE_PATH=$QTDIR/include
fi
export QTDIR CPLUS_INCLUDE_PATH
#
# Configuration for Qt ends here
#
#
# Configuration for KDE begins
#
PATH=$PATH:/usr/local/kde/bin
#
# Configuration for KDE ends
#
#
# Configuration for GIMP begins
#
MANPATH=$MANPATH:/usr/local/gimp/man
#
# Configuration for GIMP ends
#
export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof MANPATH
#
# Configuration for GCC/CC/LD
#
# Since WinLinux use some libraries in non standard places programmers will
# find this usefull
#
export LDFLAGS="-L/usr/local/lib -L/usr/local/libtiff/lib -L/usr/local/zlib/lib -L/usr/local/libpng/lib -L/usr/local/libmpeg/lib -L/usr/local/libjpeg/lib -L/usr/local/aalib/lib"
export CFLAGS="-I/usr/local/libtiff/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/libmpeg/include -I/usr/local/libjpeg/include -I/usr/local/aalib/include"
export CPPFLAGS="-I/usr/local/libtiff/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/libmpeg/include -I/usr/local/libjpeg/include -I/usr/local/aalib/include"
#
# Configuration for GCC/CC/LD ends
#